#ifndef YOOHOO_XMPPCORE_STREAMFEATUREFACTORY_H
#define YOOHOO_XMPPCORE_STREAMFEATUREFACTORY_H

#include "xmppcore/export.h"

namespace yoohoo_xmppcore {

class StreamFeature;

class YOOHOO_XMPPCORE_EXPORT StreamFeatureFactory {
public:
	enum FeatureAdvertisementPhase {
		INITIAL = 1,
		TLS = 2,
		SASL = 4
	};
	~StreamFeatureFactory() {}
	virtual StreamFeature* createStreamFeature() = 0;
	virtual int phases() = 0;
};

}

#endif
